package com.situ.spring.entity;

public class Banji {

	private Integer id;
	private String name;
	
	public Banji(Integer id, String name) {
		System.out.println("Banji.Banji()8888888");
		this.id = id;
		this.name = name;
	}

	public Banji() {
		System.out.println("Banji.Banji()99999999999");
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Banji [id=" + id + ", name=" + name + "]";
	}
}
